package com.example.hospital.patient.wx.api.db.dao;

import com.example.hospital.patient.wx.api.db.pojo.UserEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;

public interface UserDao {

    int insert(UserEntity entity);

    Integer selectAlreadyRegistered(@Param("openId") String openId);

    HashMap selectUserInfo(@Param("userId") int userId);
}
